package com.family.floor.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.family.common.utils.PageUtils;
import com.family.common.utils.Query;

import com.family.floor.dao.LeadingHousingDao;
import com.family.floor.entity.LeadingHousingEntity;
import com.family.floor.service.LeadingHousingService;


@Service("leadingHousingService")
public class LeadingHousingServiceImpl extends ServiceImpl<LeadingHousingDao, LeadingHousingEntity> implements LeadingHousingService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LeadingHousingEntity> page = this.page(
                new Query<LeadingHousingEntity>().getPage(params),
                new QueryWrapper<LeadingHousingEntity>()
        );

        return new PageUtils(page);
    }

}